import request from '@/utils/request'

// 查询压力合格率月报列表
export function listDispatchMonthlyPressureQualifiedRateReports(query) {
  return request({
    url: '/system/dispatchMonthlyPressureQualifiedRateReports/list',
    method: 'get',
    params: query
  })
}

// 查询压力合格率月报详细
export function getDispatchMonthlyPressureQualifiedRateReports(monthlyPressureQualifiedRateReportsId) {
  return request({
    url: '/system/dispatchMonthlyPressureQualifiedRateReports/' + monthlyPressureQualifiedRateReportsId,
    method: 'get'
  })
}

// 新增压力合格率月报
export function addDispatchMonthlyPressureQualifiedRateReports(data) {
  return request({
    url: '/system/dispatchMonthlyPressureQualifiedRateReports',
    method: 'post',
    data: data
  })
}

// 修改压力合格率月报
export function updateDispatchMonthlyPressureQualifiedRateReports(data) {
  return request({
    url: '/system/dispatchMonthlyPressureQualifiedRateReports',
    method: 'put',
    data: data
  })
}

// 删除压力合格率月报
export function delDispatchMonthlyPressureQualifiedRateReports(monthlyPressureQualifiedRateReportsId) {
  return request({
    url: '/system/dispatchMonthlyPressureQualifiedRateReports/' + monthlyPressureQualifiedRateReportsId,
    method: 'delete'
  })
}
